package com.n5x.mapper.discount;

import com.n5x.model.discount.DiscountGift;
import com.n5x.model.discount.DiscountGiftExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DiscountGiftMapper {
    int countByExample(DiscountGiftExample example);

    int deleteByExample(DiscountGiftExample example);

    int deleteByPrimaryKey(String id);

    int insert(DiscountGift record);

    int insertSelective(DiscountGift record);

    List<DiscountGift> selectByExampleWithBLOBs(DiscountGiftExample example);

    List<DiscountGift> selectByExample(DiscountGiftExample example);

    DiscountGift selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") DiscountGift record, @Param("example") DiscountGiftExample example);

    int updateByExampleWithBLOBs(@Param("record") DiscountGift record, @Param("example") DiscountGiftExample example);

    int updateByExample(@Param("record") DiscountGift record, @Param("example") DiscountGiftExample example);

    int updateByPrimaryKeySelective(DiscountGift record);

    int updateByPrimaryKeyWithBLOBs(DiscountGift record);

    int updateByPrimaryKey(DiscountGift record);
}